package com.eorchis.module.classplanapply.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;



import org.hibernate.annotations.GenericGenerator;

import com.eorchis.core.basedao.entity.IBaseEntity;

/**
 * Title: ClassPlanApply<br>
 * Description: 班级计划报名实体对象<br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @author SHQ
 * @createDate 2016-01-05
 * @version $Revision$
 */
@Entity
@Table(name = "TRAINING_CLASS_PLAN_APPLY")
public class ClassPlanApply implements IBaseEntity {
	private static final long serialVersionUID = 1L;
	
	public static final String LEVEL_CITY = "1080"; // 市级数据字典编码
	public static final String LEVEL_COUNTY = "1081"; // 县级数据字典编码

	private String planApplyId;//计划报名主键
	private String deptId;//报名单位ID
	private String deptCode;//报名单位代码-简称
	private String deptName;//报名单位名称
	private Integer cityPlanCount;//市级计划人数
	private Integer countyPlanCount;//县级计划人数
	private Integer planCount;//计划人数
	
	private Integer asignCityCount;//调整市级计划人数
	private Integer asignCountyCount;//调整县级计划人数
	private Integer asignCount;//调整人数
	private String classId;//ID
	
	/**
	 * 获取计划报名主键
	 */	
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name="PLAN_APPLY_ID")
	public String getPlanApplyId() {
		return planApplyId;
	}
	/**
	 * 设置计划报名主键
	 */		
	public void setPlanApplyId(String planApplyId) {
		this.planApplyId = planApplyId;
	}
	/**
	 * 获取报名单位ID
	 */	
	@Column(name="DEPT_ID")
	public String getDeptId() {
		return deptId;
	}
	/**
	 * 设置报名单位ID
	 */		
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	/**
	 * 获取报名单位代码
	 */	
	@Column(name="DEPT_CODE")
	public String getDeptCode() {
		return deptCode;
	}
	/**
	 * 设置报名单位代码
	 */		
	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}
	/**
	 * 获取报名单位名称
	 */	
	@Column(name="DEPT_NAME")
	public String getDeptName() {
		return deptName;
	}
	/**
	 * 设置报名单位名称
	 */		
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	/**
	 * 获取计划人数
	 */	
	@Column(name="PLAN_COUNT")
	public Integer getPlanCount() {
		return planCount;
	}
	/**
	 * 设置计划人数
	 */		
	public void setPlanCount(Integer planCount) {
		this.planCount = planCount;
	}
	/**
	 * 获取调整人数
	 */	
	@Column(name="ASIGN_COUNT")
	public Integer getAsignCount() {
		return asignCount;
	}
	/**
	 * 设置调整人数
	 */		
	public void setAsignCount(Integer asignCount) {
		this.asignCount = asignCount;
	}
	/**
	 * 获取ID
	 */	
	@Column(name="CLASS_ID")
	public String getClassId() {
		return classId;
	}
	/**
	 * 设置ID
	 */		
	public void setClassId(String classId) {
		this.classId = classId;
	}
	
	@Column(name="CITY_PLAN_COUNT")
	public Integer getCityPlanCount() {
		return cityPlanCount;
	}
	public void setCityPlanCount(Integer cityPlanCount) {
		this.cityPlanCount = cityPlanCount;
	}
	
	@Column(name="COUNTY_PLAN_COUNT")
	public Integer getCountyPlanCount() {
		return countyPlanCount;
	}
	public void setCountyPlanCount(Integer countyPlanCount) {
		this.countyPlanCount = countyPlanCount;
	}
	
	@Column(name="ASIGN_CITY_COUNT")
	public Integer getAsignCityCount() {
		return asignCityCount;
	}
	public void setAsignCityCount(Integer asignCityCount) {
		this.asignCityCount = asignCityCount;
	}
	
	@Column(name="ASIGN_COUNTY_COUNT")
	public Integer getAsignCountyCount() {
		return asignCountyCount;
	}
	public void setAsignCountyCount(Integer asignCountyCount) {
		this.asignCountyCount = asignCountyCount;
	}
	

}
